#ifndef LIMITED_VICTOR_H_
#define LIMITED_VICTOR_H_

#include "WPILib.h"

class LimitedVictor : public Victor
{
	float target;
	float slopeLimit;
	
	bool limitOutput;
	bool limitSlope;
	
	float max;
	float min;
	
public:
	LimitedVictor(int channel, float slopeLimit = 2.0, float minimumOutput = -1.0, float maximumOutput = 1.0);
	
	void LimitOutput(bool value);
	void LimitSlope(bool value);
	
	virtual void Set(float value, UINT8 syncGroup = 0);
};

#endif
